From: Carlos Garnacho Date: Wed, 25 Jan 2017 16:42:49 +0000 (+0100) Subject: windowManager: Avoid fullscreen animation if the window has no texture X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~582 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e0d7d28c20be69e35334b22eab5f349641f2328f;p=gnome-shell.git windowManager: Avoid fullscreen animation if the window has no texture There is hardly anything to animate, so just avoid the animation in this case. https://bugzilla.gnome.org/show_bug.cgi?id=777784 --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 551c3358c..7fe4ac3a2 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1082,6 +1082,9 @@ const WindowManager = new Lang.Class({ if (!this._shouldAnimate()) return false; + if (!actor.get_texture()) + return false; + let type = actor.meta_window.get_window_type(); return types.indexOf(type) >= 0; },